
package cn.edu.scau.cmi.hombio.web.rest;

import org.junit.Test;

import org.junit.runner.RunWith;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.beans.factory.support.DefaultListableBeanFactory;

import org.springframework.context.ApplicationContext;

import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;

import org.springframework.test.context.ContextConfiguration;

import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.RequestScope;
import org.springframework.web.context.request.ServletRequestAttributes;
import org.springframework.web.context.request.SessionScope;

/**
 * Unit test for the <code>TaskRestController</code> controller.
 *
 * @see cn.edu.scau.cmi.hombio.web.rest.TaskRestController
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {
		"file:./resources/pigRs-security-context.xml",
		"file:./resources/pigRs-service-context.xml",
		"file:./resources/pigRs-dao-context.xml",
		"file:./resources/pigRs-web-context.xml" })
public class TaskRestControllerTest {
	/**
	 * The Spring application context.
	 *
	 */
	private ApplicationContext context;

	/**
	 * Test <code>Tasktask_idcustomer()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idcustomer() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/customer");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcustomer()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idcustomer() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/customer");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcustomer()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idcustomer() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/customer");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcustomercustomer_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idcustomercustomer_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/customer/{customer_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcustomercustomer_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idcustomercustomer_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/customer/{customer_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskStatusType()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskStatusType() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskStatusType");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskStatusType()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskStatusType() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskStatusType");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskStatusType()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskStatusType() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskStatusType");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskStatusTypetaskstatustype_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskStatusTypetaskstatustype_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskStatusType/{taskstatustype_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskStatusTypetaskstatustype_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskStatusTypetaskstatustype_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskStatusType/{taskstatustype_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskType()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskType() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskType");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskType()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskType() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskType");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskType()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskType() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskType");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskTypetasktype_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskTypetasktype_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskType/{tasktype_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskTypetasktype_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskTypetasktype_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskType/{tasktype_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idemployee()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idemployee() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/employee");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idemployee()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idemployee() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/employee");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idemployee()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idemployee() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/employee");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idemployeeemployee_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idemployeeemployee_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/employee/{employee_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idemployeeemployee_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idemployeeemployee_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/employee/{employee_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsales()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idsales() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/sales");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsales()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idsales() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/sales");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsales()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idsales() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/sales");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsalessale_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idsalessale_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/sales/{sale_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsalessale_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idsalessale_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/sales/{sale_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfeeds()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idfeeds() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/feeds");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfeeds()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idfeeds() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/feeds");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfeeds()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idfeeds() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/feeds");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfeedsfeed_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idfeedsfeed_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/feeds/{feed_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfeedsfeed_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idfeedsfeed_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/feeds/{feed_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigs()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPigs() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigs");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigs()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskPigs() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigs");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigs()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskPigs() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigs");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigstaskpig_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskPigstaskpig_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigs/{taskpig_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigstaskpig_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPigstaskpig_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigs/{taskpig_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskEmployees()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskEmployees() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskEmployees");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskEmployees()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskEmployees() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskEmployees");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskEmployees()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskEmployees() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskEmployees");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskEmployeestaskemployee_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskEmployeestaskemployee_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskEmployees/{taskemployee_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskEmployeestaskemployee_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskEmployeestaskemployee_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskEmployees/{taskemployee_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idmedicineTakes()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idmedicineTakes() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/medicineTakes");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idmedicineTakes()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idmedicineTakes() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/medicineTakes");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idmedicineTakes()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idmedicineTakes() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/medicineTakes");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idmedicineTakesmedicinetake_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idmedicineTakesmedicinetake_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/medicineTakes/{medicinetake_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idmedicineTakesmedicinetake_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idmedicineTakesmedicinetake_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/medicineTakes/{medicinetake_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idinspections()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idinspections() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/inspections");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idinspections()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idinspections() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/inspections");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idinspections()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idinspections() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/inspections");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idinspectionsinspection_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idinspectionsinspection_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/inspections/{inspection_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idinspectionsinspection_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idinspectionsinspection_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/inspections/{inspection_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idexcepts()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idexcepts() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/excepts");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idexcepts()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idexcepts() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/excepts");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idexcepts()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idexcepts() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/excepts");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idexceptsexcept_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idexceptsexcept_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/excepts/{except_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idexceptsexcept_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idexceptsexcept_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/excepts/{except_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskManages()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskManages() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskManages");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskManages()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskManages() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskManages");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskManages()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskManages() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskManages");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskManagestaskmanage_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskManagestaskmanage_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskManages/{taskmanage_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskManagestaskmanage_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskManagestaskmanage_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskManages/{taskmanage_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idpreventions()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idpreventions() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/preventions");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idpreventions()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idpreventions() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/preventions");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idpreventions()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idpreventions() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/preventions");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idpreventionsprevention_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idpreventionsprevention_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/preventions/{prevention_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idpreventionsprevention_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idpreventionsprevention_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/preventions/{prevention_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskIntervalCycles()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskIntervalCycles() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskIntervalCycles");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskIntervalCycles()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskIntervalCycles() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskIntervalCycles");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskIntervalCycles()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskIntervalCycles() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskIntervalCycles");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskIntervalCyclestaskintervalcycle_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskIntervalCyclestaskintervalcycle_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskIntervalCycles/{taskintervalcycle_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskIntervalCyclestaskintervalcycle_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskIntervalCyclestaskintervalcycle_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskIntervalCycles/{taskintervalcycle_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcureTaskCourses()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idcureTaskCourses() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/cureTaskCourses");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcureTaskCourses()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idcureTaskCourses() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/cureTaskCourses");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcureTaskCourses()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idcureTaskCourses() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/cureTaskCourses");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcureTaskCoursescuretaskcourse_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idcureTaskCoursescuretaskcourse_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/cureTaskCourses/{curetaskcourse_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idcureTaskCoursescuretaskcourse_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idcureTaskCoursescuretaskcourse_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/cureTaskCourses/{curetaskcourse_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsaleTaskQualities()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idsaleTaskQualities() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/saleTaskQualities");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsaleTaskQualities()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idsaleTaskQualities() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/saleTaskQualities");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsaleTaskQualities()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idsaleTaskQualities() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/saleTaskQualities");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsaleTaskQualitiessaletaskquality_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idsaleTaskQualitiessaletaskquality_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/saleTaskQualities/{saletaskquality_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idsaleTaskQualitiessaletaskquality_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idsaleTaskQualitiessaletaskquality_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/saleTaskQualities/{saletaskquality_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPreventions()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPreventions() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPreventions");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPreventions()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskPreventions() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPreventions");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPreventions()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskPreventions() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPreventions");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPreventionstaskprevention_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskPreventionstaskprevention_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPreventions/{taskprevention_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPreventionstaskprevention_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPreventionstaskprevention_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPreventions/{taskprevention_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtransfers()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtransfers() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/transfers");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtransfers()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtransfers() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/transfers");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtransfers()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtransfers() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/transfers");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtransferstransfer_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtransferstransfer_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/transfers/{transfer_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtransferstransfer_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtransferstransfer_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/transfers/{transfer_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfodderTakes()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idfodderTakes() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/fodderTakes");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfodderTakes()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idfodderTakes() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/fodderTakes");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfodderTakes()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idfodderTakes() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/fodderTakes");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfodderTakesfoddertake_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idfodderTakesfoddertake_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/fodderTakes/{foddertake_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idfodderTakesfoddertake_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idfodderTakesfoddertake_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/fodderTakes/{foddertake_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPighouses()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPighouses() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPighouses");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPighouses()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskPighouses() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPighouses");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPighouses()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskPighouses() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPighouses");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPighousestaskpighouse_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskPighousestaskpighouse_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPighouses/{taskpighouse_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPighousestaskpighouse_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPighousestaskpighouse_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPighouses/{taskpighouse_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigsties()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPigsties() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigsties");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigsties()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTasktask_idtaskPigsties() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigsties");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigsties()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTasktask_idtaskPigsties() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigsties");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigstiestaskpigsty_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_idtaskPigstiestaskpigsty_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigsties/{taskpigsty_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_idtaskPigstiestaskpigsty_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_idtaskPigstiestaskpigsty_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}/taskPigsties/{taskpigsty_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Task()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTask() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void GetTasktask_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Task()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PutTask() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Task()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void PostTask() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Test <code>Tasktask_id()</code>.
	 */
	@Test
	@SuppressWarnings("unused")
	public void DeleteTasktask_id() throws Exception {
		MockHttpServletRequest request = getMockHttpServletRequest();
		request.setRequestURI("/Task/{task_id}");
		MockHttpServletResponse response = getMockHttpServletResponse();

		// Get the singleton controller instance
		TaskRestController controller = (TaskRestController) context.getBean("TaskRestController");

		// TODO Invoke method and Assert return values

	}

	/**
	 * Autowired to set the Spring application context.
	 *
	 */
	@Autowired
	public void setContext(ApplicationContext context) {
		this.context = context;
		((DefaultListableBeanFactory) context.getAutowireCapableBeanFactory()).registerScope("session", new SessionScope());
		((DefaultListableBeanFactory) context.getAutowireCapableBeanFactory()).registerScope("request", new RequestScope());
	}

	/**
	 * Returns a mock HttpServletRequest object.
	 *
	 */
	private MockHttpServletRequest getMockHttpServletRequest() {
		MockHttpServletRequest request = new MockHttpServletRequest();
		ServletRequestAttributes attributes = new ServletRequestAttributes(request);
		RequestContextHolder.setRequestAttributes(attributes);
		return request;
	}

	/**
	 * Returns a mock HttpServletResponse object.
	 *
	 */
	private MockHttpServletResponse getMockHttpServletResponse() {
		return new MockHttpServletResponse();
	}
}